from django.contrib import admin
from django.urls import path, include
from rest_framework.routers import DefaultRouter

from shopping.views import ClassificationViewSet, CommodityViewSet, ShoppingCartViewSet, OrderViewSet

urlpatterns = [

]

route = DefaultRouter()
route.register("classifications",ClassificationViewSet)
route.register("commoditys",CommodityViewSet)
route.register("cart",ShoppingCartViewSet)
route.register("order",OrderViewSet)
urlpatterns += route.urls